ひとりNavigation API Advent Calendar 03日目
https://gyazo.com/fde9e683ebef4dbadd640260e5f7d71d
これはひとりNavigation API Advent Calendarの3日目です
内容を深ぼていくためにNavigation APIの公式の仕様・情報源をまとめてみる(一次情報を基本とします)
仕様
https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-api
現在はWHATWGのLiving Standardにまとめられている
ブラウザ上で動く標準的な動きについてはここを参照
バグなどについてはIssueで確認する
https://github.com/whatwg/html/issues?q=is%3Aissue%20state%3Aopen%20label%3A"topic%3A%20navigation"%20type%3ABug
仕様策定
https://github.com/WICG/navigation-api
仕様策定段階においてはWICGにリポジトリが置いてあった
プロポーザル
A new history API, "app history" · Issue #20 · WICG/proposals · GitHub
これで承認?されてリポジトリが作られた
もともとはApp History API→Navigation APIに変わった
W3C TAGによるDesign Review
App history API · Issue #605 · w3ctag/design-reviews · GitHub
Navigation API (formerly app history API) · Issue #717 · w3ctag/design-reviews · GitHub
Intent to Ship関連
Intent to Prototype: App history API
Intent to Experiment: App history API
Intent to Ship: Navigation API
WPT
安定ブラウザ版
実験ブラウザ版
ブラウザへの実装部分の参照リソース
Chromeはchromiumソースより参照
https://deepwiki.com/search/navigation-api_8e824f0c-10f6-448f-a66e-98ed110272b7
SafariはWebkitソースより参照
https://deepwiki.com/search/navigation-api_af47c72d-3cda-46c6-b969-38affef37fa6
Firefoxは https://github.com/mozilla-firefox/firefox ソースより参照
https://deepwiki.com/search/navigation-api_4281b4ec-d1d5-45f6-8b7d-fafbd279976f
開発者向け情報
最新のクライアントサイド ルーティング: Navigation API | Web Platform | Chrome for Developers
Chrome for Developersにおける解説
Navigation API - Web APIs | MDN
MDNの情報源
2025-12-03時点で日本語訳はない
このアドベントカレンダー期間中に翻訳業をやってみてもいいのかな…
ここにあるリソースのほとんどはNavigation API による「JS での画面遷移」と SPA の改善 | blog.jxck.ioより参考にさせてもらってます。jxckさん、ありがとうございます。